<?php    
    if(isset($_POST['username']))
    {
        $email = $_POST['username'];
        $password = $_POST['password'];
        
        $acc = new accountDAO();
        
        $isLogin = $acc->login($email, $password);
    }
    
    include VIEWS_PATH . DS . 'login.php';
?>